﻿using Ledict.ConditionExtract.DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class CivilDataProcessAnalysisBLL
    {
        CivilDataProcessAnalysisDAL dal = new CivilDataProcessAnalysisDAL();

        /// <summary>
        /// 根据案由获取本院认为或者审理查明内容
        /// </summary>
        /// <param name="code">字典类型编码</param>
        /// <returns></returns>
        public DataTable GetDataByType(string type, string ccID, int num)
        {
            return dal.GetDataByType(type, ccID,num);
        }

        /// <summary>
        /// 根据caseId获取人名等信息做挖空处理
        /// </summary>
        public DataTable GetDataByCaseId(string caseId)
        {
            return dal.GetDataByCaseId(caseId);
        }



        /// <summary>
        /// 修改case表状态
        /// </summary>
        /// <param name="Model"></param>
        /// <returns></returns>
        public bool UpdateCaseIsComSuit(string caseId)
        {
            return dal.UpdateCaseIsComSuit(caseId);
        }
    }
}
